package com.example.simplenet;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class NotificationReceiver extends BroadcastReceiver {

	private ConnectionMan mService = null;

	public NotificationReceiver(ConnectionMan service) {
		mService = service;
	}
	
	@Override
	public void onReceive(Context context, Intent intent) {
		if (mService != null)
			mService.pauseService();
	}

}
